package com.atguigu.servicebase.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: shaki
 * @Date: 2021/5/24 18:40
 * 自定义异常类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyException extends RuntimeException {
    private Integer code; //状态码
    private String msg; //异常信息
}
